/*
 * Filename: g:\espidf_workspace\idf_S3_T-Watch\main\sources\speaker.h
 * Path: g:\espidf_workspace\idf_S3_T-Watch\main\sources
 * Created Date: Thursday, June 19th 2025, 4:21:21 pm
 * Author: sss
 * 
 * Copyright (c) 2025 Your Company
 */
#ifndef _SPEAKER_H_
#define _SPEAKER_H_

#include <stdint.h>
#include <stddef.h>

#ifdef __cplusplus
extern "C" {
#endif

void speaker_init();
void speaker_deinit();
void speaker_set_volume(uint8_t volume);
void speaker_play_sound(uint16_t* sound_data, size_t len);
void speaker_stop_sound();

#ifdef __cplusplus
}
#endif
#endif /* _SPEAKER_H_ */